package com.song.email.bean;

import java.util.ArrayList;
import java.util.List;

import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection="emailInfo")
public class EmailInfo {
	//发件人
	private String mailFrom;
	//收件人姓名
	private String username;
	//发件人邮件密码.
	private String password;
	//协议类型
	private String protocolType;
	//协议
	private String protocol;
	//收件人
	private String mailto;
	//主题
	private String subject;
	//内容
	private String content;
	//附件地址集合.
	private List<String> attachList = new ArrayList<String>();
	
	public String getProtocolType() {
		return protocolType;
	}
	public void setProtocolType(String protocolType) {
		this.protocolType = protocolType;
	}
	public String getProtocol() {
		return protocol;
	}
	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}
	public String getMailFrom() {
		return mailFrom;
	}
	public void setMailFrom(String mailFrom) {
		this.mailFrom = mailFrom;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getMailto() {
		return mailto;
	}
	public void setMailto(String mailto) {
		this.mailto = mailto;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public List<String> getAttachList() {
		return attachList;
	}
	public void setAttachList(List<String> attachList) {
		this.attachList = attachList;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
}
